package com.neutech.base;

import java.awt.Graphics;
import java.awt.Image;

import com.neutech.constant.Constant;

public class ScList extends Sprite{
	
	
	public ScList() {}
	
	public ScList(Image image) {
		super(Constant.WINDOW_WIDTH/2-115,Constant.WINDOW_INNER_HEIGHT/2-100,
				image.getWidth(null), image.getHeight(null), 0, 0, image.getWidth(null), image.getHeight(null), image);
	}
	@Override
	public void draw(Graphics g) {
		g.drawImage(getImage(), getX(),getY(),null);
	}
}
